//
//  KLIUpdateViewModel.h
//  KoalaUtilKit
//
//  Created by Tommy on 15/1/16.
//  Copyright (c) 2015年 Koala Team. All rights reserved.
//

#import <Foundation/Foundation.h>

@class RACCommand,RACSignal,KLUpdateModel;

@protocol KLIUpdate;

@protocol KLIUpdateViewModel <NSObject>

- (instancetype)initWithModel:(Class)modelCls service:(id<KLIUpdate>)update;

//send updateModel
- (RACCommand*)checkUpdateCmd;
- (RACSignal*) hasNewVersion;

- (KLUpdateModel*) updateModel;


@end
